package com.twq.rules

/**
 * Created by tangweiqun on 2017/12/5.
 */
package object rule2 {

  implicit object IntMonoid extends Monoid[Int] {

    def add(x: Int, y: Int): Int = x + y

    def unit: Int = 0
  }

}
